import 'package:flutter/material.dart';

class RecommendCard {
  final String title;
  final String description;
  final IconData icon;
  final Color backgroundColor;
  final String? backgroundImage;
  final VoidCallback? onTap;

  const RecommendCard({
    required this.title,
    required this.description,
    required this.icon,
    required this.backgroundColor,
    this.backgroundImage,
    this.onTap,
  });

  // 预定义的推荐卡片
  static List<RecommendCard> getDefaultCards() {
    return [
      RecommendCard(
        title: '每日推荐',
        description: '符合你口味的新鲜好歌',
        icon: Icons.calendar_today,
        backgroundColor: const Color(0xFFD33A4E),
        backgroundImage: 'assets/images/daily_recommend.jpg',
      ),
      RecommendCard(
        title: '心动模式',
        description: '红心歌曲相似推荐',
        icon: Icons.favorite,
        backgroundColor: const Color(0xFFFF69B4),
        backgroundImage: 'assets/images/heart_mode.jpg',
      ),
      RecommendCard(
        title: '新歌首发',
        description: '独创性的艺术',
        icon: Icons.new_releases,
        backgroundColor: const Color(0xFF87CEEB),
        backgroundImage: 'assets/images/new_song.jpg',
      ),
    ];
  }
} 